package com.tansun.easycare.rule.rulelog.service;

import java.util.List;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.tansun.easycare.rule.common.service.RuleBaseService;
import com.tansun.easycare.rule.rulelog.entity.RuleLogs;
import com.tansun.easycare.rule.rulelog.model.FlareTreeDataEntity;

public interface RuleLogsService extends RuleBaseService<RuleLogs> {
	/**
     * 查找所有页面数据
     */
	PageInfo<RuleLogs> RulefindList(Page<RuleLogs> page, RuleLogs ruleLogs);
	
	/*
	 * group_by方法
	 * */
	PageInfo<RuleLogs> RulegroupList(Page<RuleLogs> page, RuleLogs ruleLogs);

	/*饼状图的数据获取*/
	List<RuleLogs> groupfindListPie(RuleLogs ruleLogs);
    
	/*根据时间，项目编码，项目名称，调用编码来查询数据*/

	List<RuleLogs> findListSwithPie(RuleLogs ruleLogs);
	

	/**
	 * 获取总览树数据
	 * @param logType 日志数据类型  1：正式数据，2：测试数据
	 * @return
	 */
	public FlareTreeDataEntity getFlareTreeData(String logType);
	
	
	RuleLogs getStartTimeFlag();
	
	/**
	 * 查询日志，结束日期不等于,小于
	 * @param ruleLogs
	 * @return
	 */
	public List<RuleLogs> findListEDNQ(RuleLogs ruleLogs);
}
